package com.jh.fcsm.service.inf;


import com.alibaba.fastjson2.JSONArray;
import com.jh.fcsm.beans.inf.InfApp;
import com.jh.fcsm.beans.inf.InfTask;
import com.jh.fcsm.beans.inf.vo.PlatformRequestVo;

import javax.validation.Valid;
import java.util.List;

public interface ThreePartyService {

	InfApp checkRequest(@Valid PlatformRequestVo request);

	/**
	 * 插入数据库提交事务并返回影响行数
	 * @param data
	 * @param taskList
	 * @return
	 */
	int execMethodTask(JSONArray data, List<InfTask> taskList);
}
